/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.tradeplus.security.service;

import com.tradeplus.security.model.User;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 *
 * @author ronnie
 */
public interface UserDetailsService extends org.springframework.security.core.userdetails.UserDetailsService {
    
    public User getUser(int userID);

    public User getUserByEmail(String emailAddress);
    
    public void save(User user);

    public User loadDBUser(String username, String password, String site, String domain);       
    
    public List<User> getAllUsers();
    
}
